{extend name="/fool" /}
{block name="css"}
<link rel="stylesheet" href="/css/admin/product_list.css">
<style>
    .layui-form-onswitch{
        /*background: #1989FA;*/
        /*border-color: #1989FA;*/
    }
    .layui-upload-img{
        height:200px;
        width:200px;
        margin: 10px;
    }
    .value{
        text-align: left;
    }
</style>
{/block}
{block name="menu_content"}
<form class="layui-form" action="" method="post">
    <ul id="content">
        <li class="li">
            <table class="one">
                <tr>
                    <td class="one-one">使用人：</td>
                    <td class="value">
                        <div class="layui-input-inline">
                            <input type="text" name="name" autocomplete="off" class="layui-input" placeholder="请输入使用人姓名">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="one-one">账号：</td>
                    <td class="value">
                        <div class="layui-input-inline">
                            <input type="text" name="name" autocomplete="off" class="layui-input" placeholder="请输入登录账号">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="one-one">密码：</td>
                    <td class="value">
                        <div class="layui-input-inline">
                            <input type="text" name="name" autocomplete="off" class="layui-input" placeholder="请输入登录密码">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="one-one">开放区域：</td>
                    <td class="value">
                        <button id="select" type="button" class="layui-btn">选择</button>
                    </td>
                </tr>
                <tr>
                    <td class="one-one">
                        <button type="button" class="listbu layui-btn">取消</button>
                    </td>
                    <td class="value">
                        <button type="submit" class="fh layui-btn">保存</button>
                    </td>
                </tr>
            </table>
        </li>
    </ul>
</form>
<script>
</script>
<script>
    $("#select").click(function () {
        parent.$(window.parent.document).find("#hd").show();
        parent.$(window.parent.document).find("#groupadd").show();
        parent.$(window.parent.document).find("#jurisdiction").show();
        parent.$(window.parent.document).find("#groupadd .table").val('aaa');
        parent.$(window.parent.document).find("#groupadd .class").val('3');
    })
    layui.use('form', function(){
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
    $(".listbu").click(function(){
        history.back(-1);
    })
</script>
{/block}